//
//  KeyBoardTopBar.h
//  RenjiBank
//
//  Created by guopanpan on 13-6-26.
//  Copyright (c) 2013年 lijing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KeyBoardTopBar : NSObject
{
    UIToolbar       *view;
    NSArray         *textFields;
    BOOL            allowShowPreAndNext;
    BOOL            isInNavigationController;
    UIBarButtonItem *prevButtonItem;
    UIBarButtonItem *nextButtonItem;
    UIBarButtonItem *hiddenButtonItem;
    UIBarButtonItem *spaceButtonItem;
    UITextField     *currentTextField;
}

@property (nonatomic, retain) UIToolbar *view;

-(id)init;
-(void)setAllowShowPreAndNext:(BOOL)isShow;
-(void)setIsInNavigationController:(BOOL)isbool;
-(void)setTextFieldsArray:(NSArray *)array;
-(void)showPrevious;
-(void)showNext;
-(void)showBar:(UITextField *)textField;
-(void)HiddenKeyBoard;

@end
